package com.caipiao.lottery.task;

import com.caipiao.lottery.task.keepline.KeepLineManager;
import jodd.props.Props;

public class SystemTaskManager
{
	private static SystemTaskManager instance = new SystemTaskManager();

	private SystemTaskManager(){}
	
	public static SystemTaskManager Instance()
	{
		return instance;
	}
	
	public void Init(Props props)
	{
		String model = props.getValue("TASK");
		
		//保持在线
		if (model.indexOf("|KeepLine|") >= 0) {
			KeepLineManager.Instance().InitTask(props);
		}
	}
}
